package com.ltu.model.response.order;

import java.util.Date;

import com.ltu.base.GenericEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 续费记录
 * </p>
 * 
 * @author 若尘
 * @since 2022-02-21
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "订单详情模型OrderVO", description = "订单详情模型")
public class OrderVO extends GenericEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "订单id")
	private Integer id;
	@ApiModelProperty(value = " product_id:商品ID ")
	private Integer productId;
	@ApiModelProperty(value = " product_name:可兑换的商品名称 ")
	private String productName;
	@ApiModelProperty(value = " banner_img:商品的图片 ")
	private String bannerImg;
	@ApiModelProperty(value = " unit_price:单价 ")
	private Integer unitPrice;
	@ApiModelProperty(value = " store_id:来源门店 ")
	private Integer storeId;
	@ApiModelProperty(value = " store_name:门店名称 ")
	private String storeName;
	@ApiModelProperty(value = " store_address:店铺地址 ")
	private String storeAddress;
	@ApiModelProperty(value = " coordinate:坐标 ")
	private String coordinate;
	@ApiModelProperty(value = " house_number:店铺门牌号 ")
	private String houseNumber;
	@ApiModelProperty(value = " order_no:订单编号 ")
	private String orderNo;
	@ApiModelProperty(value = " source_desc:来源：1自提单2充值 ")
	private String sourceDesc;
	@ApiModelProperty(value = " source_dict:来源：1自提下单2充值 ")
	private Byte sourceDict;
	@ApiModelProperty(value = " source_id:来源记录ID，非下单和充值产生的订单 ")
	private Integer sourceId;
	@ApiModelProperty(value = " order_qr_code:自提订单提供的二维码 ")
	private String orderQrCode;
	@ApiModelProperty(value = " source_ids:来源记录的ID ")
	private String sourceIds;
	@ApiModelProperty(value = " remark:备注 ")
	private String remark;
	@ApiModelProperty(value = " user_id:创建人ID ")
	private Integer userId;
	@ApiModelProperty(value = " user_name:创建人姓名 ")
	private String userName;
	@ApiModelProperty(value = " user_phone:联系电话 ")
	private String userPhone;
	@ApiModelProperty(value = " contact_person:联系人 ")
	private String contactPerson;
	@ApiModelProperty(value = " contact_phone:联系电话 ")
	private String contactPhone;
	@ApiModelProperty(value = " user_coupon_id:用户商品券ID ")
	private Integer userCouponId;
	@ApiModelProperty(value = " coupon_name:券名称 ")
	private String couponName;
	@ApiModelProperty(value = " coupon_desc:券描述 ")
	private String couponDesc;
	@ApiModelProperty(value = " coupon_code:券编号 ")
	private String couponCode;
	@ApiModelProperty(value = " coupon_img:券图片 ")
	private String couponImg;
	@ApiModelProperty(value = " total_fee:订单总额 ")
	private Integer totalFee;
	@ApiModelProperty(value = " rebate_fee:优惠额度 ")
	private Integer rebateFee;
	@ApiModelProperty(value = " payable_fee:实际支付 ")
	private Integer payableFee;
	@ApiModelProperty(value = " pay_status:支付状态：0待支付1支付成功2支付中-2取消支付-1未完成支付 ")
	private Byte payStatus;
	@ApiModelProperty(value = " status:是否有效0否1是默认0 ")
	private Integer status;
	@ApiModelProperty(value = " pay_way:支付方式1微信支付2余额支付 ")
	private Byte payWay;
	@ApiModelProperty(value = " update_time:更新时间 ")
	private Date updateTime;
	@ApiModelProperty(value = " create_time:创建时间 ")
	private Date createTime;
	@ApiModelProperty(value = " amount:商品总数 ")
	private Integer amount;
	@ApiModelProperty(value = " order_item_ids:订单详情IDS,分割 ")
	private String orderItemIds;
	@ApiModelProperty(value = "所属公司")
	private Integer companyId;
	@ApiModelProperty(value = "核销时间")
	private Date hexiaoDate;
	@ApiModelProperty(value = " store_user_id:核销人 ")
	private Integer storeUserId;
	@ApiModelProperty(value = " store_user_name:核销人名称 ")
	private String storeUserName;
	@ApiModelProperty(value = "订单状态：提货状态：0订单未成交1待自提2已自提3")
	private Byte deliveryStatus;
	@ApiModelProperty(value = "规格名称拼接，如 尺码：41,颜色:红色")
	private String unitName;

	

}
